package pcb.models 
{
	import com.intel.patterns.observer.Subject;
	import flash.display.MovieClip;
	
	/**
	 * ...
	 * @author Fintan Boyle
	 */
	public class MainMenuModel extends Subject implements IModel 
	{
		
		private var menu_xml:XML;
		private var menu_rsl:MovieClip;
		
		public function MainMenuModel() 
		{
			
		}
		
		public function setMenuXml(xml:XML):void 
		{
			menu_xml = xml;
			
			trace("menu_xml " + menu_xml);
			
			notify(Notifications.NEW_MENU_XML);
		}
		
		public function getMenuXml():XML
		{
			return menu_xml;
		}
		
		public function setMenuRsl(rsl:MovieClip):void 
		{
			menu_rsl = rsl;
		}
		
		public function getMenuRSL():MovieClip
		{
			return menu_rsl;
		}
		
	}
	
}